package environment;

import java.util.ArrayList;
import wowmobile.Monster;
import wowmobile.Quest;

public abstract class Environment
{
    public abstract String toString();
    public abstract boolean isWalkAble();
    public abstract boolean isAtacked();
    public abstract ArrayList<Monster> getMonsters();

     public String getArea(Environment e)
    {
        if (e.toString().equals("5")){
            return "Cave";
        } else if (e.toString().equals("6")) {
            return "Grass";
        } else if (e.toString().equals("7")) {
            return "HighGrass";
        } else if (e.toString().equals("8")) {
            return "Passage";
        } else if (e.toString().equals("9")) {
            return "Road";
        } else if (e.toString().equals("10")) {
            return "Rock";
        } else if (e.toString().equals("11")) {
            return "Sand";
        } else {
            return "Tree";
        }    
    }

    public boolean isPassage()
    {
        return false;
    }
    
    public boolean isQuestGiver()
    {
        return false;
    }
    
    public Quest getQuest()
    {
        return new Quest();
    }
}
